package club.xinghe.entity;

/**
 * 说明:成绩表实体
 *
 * @姚文斌
 * @create 2019-09-28 下午 4:59
 */
public class Score {
    private Student student;//学生数据类型
    private Exam exam;//试卷数据类型
    private int cj;//成绩分数
    private Zy zy;//专业数据类型
    //构造器

    public Score() {
    }

    public Score(Student student) {
        this.student = student;
    }

    public Score(Student student, Exam exam, Zy zy) {
        this.student = student;
        this.exam = exam;
        this.zy = zy;
    }

    public Score(Student student, Exam exam, int cj) {
        this.student = student;
        this.exam = exam;
        this.cj = cj;
    }

    public Score(Student student, Exam exam) {
        this.student = student;
        this.exam = exam;
    }

    public Score(Exam exam, int cj, Zy zy) {
        this.exam = exam;
        this.cj = cj;
        this.zy = zy;
    }

    public Score(Student student, Exam exam, int cj, Zy zy) {
        this.student = student;
        this.exam = exam;
        this.cj = cj;
        this.zy = zy;
    }

    //setget方法


    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Exam getExam() {
        return exam;
    }

    public void setExam(Exam exam) {
        this.exam = exam;
    }

    public int getCj() {
        return cj;
    }

    public void setCj(int cj) {
        this.cj = cj;
    }

    public Zy getZy() {
        return zy;
    }

    public void setZy(Zy zy) {
        this.zy = zy;
    }
}
